package com.youpai.platform.chat.web.entity.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @date: 2022/7/23 16:27
 * @author: Anna
 * @version: 1.0
 * @description: 聊天详情页数据
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "GetChatDetailPageResp", description = "聊天详情页数据")
public class GetChatDetailPageResp {

    @ApiModelProperty(value = "当前uid")
    private String fromUid;

    @ApiModelProperty(value = "对方uid")
    private String toUid;

    @ApiModelProperty(value = "对方的accId")
    private String toAccId;

    @ApiModelProperty(value = "用户状态")
    private Integer toUserState;

    @ApiModelProperty(value = "用户状态tag")
    private String toUserStateTag;

    @ApiModelProperty(value = "当前用户昵称")
    private String fromUserNickName;

    @ApiModelProperty(value = "当前用户头像")
    private String fromUserAvatar;

    @ApiModelProperty(value = "对方用户昵称")
    private String toUserNickName;

    @ApiModelProperty(value = "对方用户头像")
    private String toUserAvatar;

    @ApiModelProperty(value = "会话id")
    private String sessionId;

    @ApiModelProperty(value = "最后一条消息id , -1表示没有消息")
    private Long lastMsgId;
}
